package com.zc.imooc.finaltest.kafka.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @program: final-test
 * @description: MyProducerConfig
 * @author: zengchen
 * @create: 2020-09-26 13:50
 **/
@Configuration
@ConfigurationProperties(value = "my.kafka")
@Data
public class MyProducerProperties {

    private String bootstrapServersConfig;
    private String keySerializerClassConfig;
    private String valueSerializerClassConfig;
    private String acksConfig;
    private String retriesConfig;
    private String batchSizeConfig;
    private String lingerMsConfig;
    private String bufferMemoryConfig;
}
